/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.ucsur.tp.colegio.dao.factories;

import edu.ucsur.tp.colegio.daos.AlumnoSchoolDao;
import edu.ucsur.tp.colegio.daos.GradoSchoolDao;
import edu.ucsur.tp.colegio.daos.ProvinciaSchoolDao;
import edu.ucsur.tp.colegio.daos.ServicioSchoolDao;
import edu.ucsur.tp.colegio.daos.UsuarioSchoolDao;

/**
 *
 * @author Administrador
 */
public abstract class SchoolDaoFactory {
    
  public static final int TEMP_DATA = 1;
  public static final int MY_SQL = 2;
  public static final int ORACLE = 3;
  
   public static SchoolDaoFactory getInstance(int daoType){
       
       switch (daoType) {
      case TEMP_DATA:
        return new SchoolTemporalDaoFactory();
      case MY_SQL:
        return new SchoolMySqlDaoFactory();
      case ORACLE:
        return null;
      default:
        return null;
    }
  }
    public abstract UsuarioSchoolDao getUsuarios();
    public abstract AlumnoSchoolDao getAlumnos();
    public abstract ProvinciaSchoolDao getProvincia();
    public abstract GradoSchoolDao getGrados();
    public abstract ServicioSchoolDao getServicioClienteBean();
    
}
